package com.yidu.BusinessParameters.entity;

public class CashAccruedEntity {
//    cashAccruedId VARCHAR(20) PRIMARY KEY NOT NULL,     -- 现金应收应付id
//    fundId VARCHAR(20) NOT NULL, -- 外键                -- 基金编号
//    cashId VARCHAR(20) NOT NULL, -- 外键                -- 现金ID
//    cashDate VARCHAR(20) NOT NULL,                      -- 业务日期
//    moneySun DOUBLE NOT NULL,                           -- 总金额
//    moneyFlow INT NOT NULL,                             -- 资金流向
//    businessType INT NOT NULL                           -- 业务类型
    private String cashAccruedId;
    private String fundId;
    private String cashId;
    private String cashDate;
    private double moneySun;
    private int moneyFlow;
    private int businessType;
    private String bankAccount;//银行账号
    private String accounName;//账户名称
    private String bankName;//银行名称

    public CashAccruedEntity(){

    }

    public CashAccruedEntity(String cashAccruedId, String fundId, String cashId, String cashDate, double moneySun, int moneyFlow, int businessType, String bankAccount, String accounName, String bankName) {
        this.cashAccruedId = cashAccruedId;
        this.fundId = fundId;
        this.cashId = cashId;
        this.cashDate = cashDate;
        this.moneySun = moneySun;
        this.moneyFlow = moneyFlow;
        this.businessType = businessType;
        this.bankAccount = bankAccount;
        this.accounName = accounName;
        this.bankName = bankName;
    }

    public String getCashAccruedId() {
        return cashAccruedId;
    }

    public void setCashAccruedId(String cashAccruedId) {
        this.cashAccruedId = cashAccruedId;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getCashDate() {
        return cashDate;
    }

    public void setCashDate(String cashDate) {
        this.cashDate = cashDate;
    }

    public double getMoneySun() {
        return moneySun;
    }

    public void setMoneySun(double moneySun) {
        this.moneySun = moneySun;
    }

    public int getMoneyFlow() {
        return moneyFlow;
    }

    public void setMoneyFlow(int moneyFlow) {
        this.moneyFlow = moneyFlow;
    }

    public int getBusinessType() {
        return businessType;
    }

    public void setBusinessType(int businessType) {
        this.businessType = businessType;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getAccounName() {
        return accounName;
    }

    public void setAccounName(String accounName) {
        this.accounName = accounName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    @Override
    public String toString() {
        return "CashAccruedEntity{" +
                "cashAccruedId='" + cashAccruedId + '\'' +
                ", fundId='" + fundId + '\'' +
                ", cashId='" + cashId + '\'' +
                ", cashDate='" + cashDate + '\'' +
                ", moneySun=" + moneySun +
                ", moneyFlow=" + moneyFlow +
                ", businessType=" + businessType +
                ", bankAccount='" + bankAccount + '\'' +
                ", accounName='" + accounName + '\'' +
                ", bankName='" + bankName + '\'' +
                '}';
    }
}
